package com.example.service.impl;

import com.example.dao.ManagerPermDao;
import com.example.pojo.ManagerPermKey;
import com.example.service.ManagerPermService;

import java.util.List;


public class ManagerPermServiceImpl extends BaseImpl<ManagerPermDao> implements ManagerPermService {

    @Override
    public int add(ManagerPermKey entity) {
        return mapper.add(entity);
    }

    @Override
    public void delete(ManagerPermKey managerPermKey) {
        mapper.deleteById(managerPermKey);
    }


    @Override
    public List<ManagerPermKey> find(int mID) {
        return mapper.find(mID);
    }
}
